import $http  from './index.js';

  //export const   sendSMSVerificationCode=(phoneNum) =>$http.get('http://localhost:5006/api/Register/SendVerifyCode?phoneNum='+phoneNum);

  function  sendSMSVerificationCode(phoneNum)
  {

    return   $http.get('http://localhost:5006/api/Register/SendVerifyCode?phoneNum='+phoneNum);
  }


export {sendSMSVerificationCode};

function RegisterUser(regiesteUserDTO)
{

  return   $http.post('/api/Register/RegiestPhoneNum',regiesteUserDTO);
}

export {RegisterUser};